#ifndef LIFE_H
#define LIFE_H
const int maxrow = 5, maxcol = 5;

class Life
{
    public:
        Life();
        ~Life();
        void initialize();
        void print();
        void update();


    private:
        int grid[maxrow+2][maxcol+2];
        int neighbor_count(int row, int col);
};

#endif // LIFE_H
